{% extends "shm/addressbook_department_list.html" %}
{% block department_list %}
    <dl>
    {% for item in employees_1 %}
        <dt>     
           {{ item.employee.last_name }}  {{ item.employee.first_name }} {{ item.employee.patronymic }}
        </dt>
        <dd>
           {{ item.employee.post }}
           <p>
            {% for ph in item.phones %}
              {{ ph }},
            {% endfor %}
           </p>
        </dd>
    {% endfor %}  
    </dl>
{% endblock %}


{% block employee_list %}
    <dl>
    {% for item in employees_0 %}
        <dt>     
           {{ item.employee.last_name }}  {{ item.employee.first_name }} {{ item.employee.patronymic }}
        </dt>
        <dd>
           {{ item.employee.post }}
           <p>
            {% for ph in item.phones %}
              {{ ph }},
            {% endfor %}
           </p>
        </dd>
    {% endfor %}  
    </dl>
{% endblock %}
